package edu.scau.tool.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
@Data
public class LogsVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    @Schema(name = "funtionName",description = "执行模块方法")
    private String funtionName;
    @Schema(name = "funtionType",description = "方法类型",example = "GET/POST")
    private String funtionType;
    @Schema(name = "requestUrl",description = "请求接口路径")
    private String requestUrl;
    @Schema(name = "duration",description = "查询耗时")
    private long duration;

    public LogsVo(String id, String funtionName, String funtionType, String requestUrl, long duration) {
        this.id = id;
        this.funtionName = funtionName;
        this.funtionType = funtionType;
        this.requestUrl = requestUrl;
        this.duration = duration;
    }

    public LogsVo() {
    }
}
